#include <QCoreApplication>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double A,B;
    cout<<"Vvedite dva chisla:"<<endl;
    cin>>A;
    cin>>B;
    cout<<"Summa"<<endl<<(A*A)+(B*B)<<endl;
    cout<<"Raznost"<<endl<<(A*A)-(B*B)<<endl;
    cout<<"Proizvedenie"<<endl<<(A*A)*(B*B)<<endl;
    cout<<"Chastnoe"<<endl<<(A*A)/(B*B)<<endl;
    return a.exec();
}
